package com.ct.controller;

import cn.hutool.log.StaticLog;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试API
 */
@RestController
@RequestMapping("/testApi")
public class TestController {

    /**
     * 测试接口
     */
    @GetMapping("/test")
    public String test() {
        StaticLog.info("This is static {} log.--->{}", "INFO");
        return "hello world";
    }
}
